function [B1top] = B1TOP(hmF1, hmF2)
%
% F1-Layer Top Thickness
%
%DESCRIPTION:
%This function computes the F1-Layer Top Thickness.
%
%PROTOTYPE:
% [B1top] = B1TOP(hmF1, hmF2)
%
%--------------------------------------------------------------------------
% INPUTS:
%   hmF1       [1x1]       F1-Layer Max. D. Height   [km]
%   hmF2       [1x1]       F2-Layer Max. D. Height   [km]
%--------------------------------------------------------------------------
% OUTPUTS:
%   B1top      [1x1]       F1-Lay. Top Thickness     [km]
%--------------------------------------------------------------------------
%
%NOTES:
% (none)
%
%CALLED FUNCTIONS:
% (none)
%
%UPDATES:
% (none)
%
%REFERENCES:
% [1] "Ionospheric Correction Algorithm for Galileo Single-Frequency Users"
%      - European GNSS (Galileo) Open Service
% [2] "Electron Density Models and Data for Transionospheric Radio
%      Propagation" - Report ITU-R P.2297-1 (05/2019)
%
%AUTHOR(s):
%Luigi De Maria, Matteo D'Addazio, 2022
%

%% Main Code

B1top = 0.3 * (hmF2 - hmF1);

end